<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="<?=domain?>static/style/union.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?=domain?>static/script/core.js" charset="utf-8"></script>
<script type="text/javascript" src="<?=domain?>static/script/Enrol.js" charset="utf-8"></script>
<title><?=name?>--<?=$title?></title>
<meta name="keywords" content="<?=keywords?>" />
<meta name="description" content="<?=description?>" />
<meta name="author" content="www.cnadlm.com" />
<body>
<div class="nav">
	<div class="list">
		<ul>
		<?php
		foreach($menu as $key=>$value){
		?>
		<li><a href="<?=($value['value'])?>"><?=$value['name']?></a></li>
		<?php
		}
		?>
		</ul>
	</div>
</div>
<div class="main">
	<div class="logo"><a href="<?=domain?>"><img src="<?=domain?>static/image/Logo.png"></a></div>
	<div class="content">
        <div class="left">
        	<div class="module">
        		<div class="bar"><div>帮助中心</div></div>
				<?php
				if(isset($detail)){
				?>
				<div class="detail">
					<div class="title"><?=$detail['title']?></div>
		        	<div class="case"><?=$detail['detail']?></div>
		        </div>
				<?php
				}else{
				?>
        		<div class="handle">
					<div class="ul">
						<?php
						foreach($content as $value){
						?>
						<div class="li">
							<div class="l"><a href="<?=domain?>view/help.php?parent=<?=$parent?>&id=<?=$value['id']?>"><?=$value['title']?></a></div>
						</div>
						<?php
						}
						?>
					</div>
					<div class="pagination">
						<?=$pagination?>
					</div>
        		</div>
        		<?php
				}
	        	?>
        	</div>
      	</div>
      	<div class="right">
      		<div class="module">
      			<div class="bar"><div>联盟指南</div></div>
      			<div class="handle">
      				<?php
      					foreach($help as $value){
      				?>
      				<a href="<?=domain?>view/help.php?parent=<?=$parent?>&sort=<?=$value['id']?>"><?=$value['name']?></a>
      				<?php
      					}
      				?>
      			</div>
      		</div>
      	</div>
	</div>
	<div class="footer">
			<?=$foot?>
	</div>
</div>
</body>
</html>